package org.footballmanager.pandafootball.common.handler;

import org.apache.ibatis.type.MappedTypes;
import org.footballmanager.pandafootball.common.converter.BaseEnum;
import org.footballmanager.pandafootball.common.converter.UniversalEnumHandler;
import org.footballmanager.pandafootball.system.domain.enums.*;

/**
 * @author chenjian
 * @since 2017年10月18日下午5:17:22
 */
@MappedTypes(value = {BFLX.class, BFZT.class, SPYS.class,
        BSJC.class, ERFL.class, ERZT.class, ZDZT.class,
        FL.class, JYZT.class, QX.class, JNFL.class,
        SJZT.class, ZDZW.class, LSZT.class})
public class EnumTypeHandler<E extends BaseEnum<Integer>> extends UniversalEnumHandler<E> {
    /**
     * 转换枚举为Integer类型
     *
     * @param type
     */
    public EnumTypeHandler(Class<E> type) {
        super(type);
    }
}
